package com.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.controller.command.SysUserCommand;
import com.st.domain.SysRole;
import com.st.domain.SysUser;

import java.util.List;

/**
 * @author shent
 */
public interface SysUserService extends IService<SysUser> {
    Long add(SysUserCommand command);

    SysUser getByUsername(String username);

    List<SysRole> getRolesById(Long id);

    List<String> getResourceCodesByUserId(Long id);
}
